#include "tcp_client.hpp"


int main(int argc,char* argv[])
{
    if(argc!=3)
    {
        cout<<"Usage:\n\t"<<"tcp_client desc_ip desc_port"<<endl;
        return 1;
    }
    //写入ip和port
    uint16_t port=atoi(argv[2]);
    string ip=argv[1];
    TcpClient client(ip,port);
    client.start();
    return 0;
}